package yl.hs.bmipfull.pojo.production;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 作用:  运输任务,商砼可以拆为2条派车任务实体类<br/>
 * 创建时间: 2021年06月19日 09时30分07秒 <br/>
 *
 * @author 谢东
 */
@DBTable(disName = "运输任务", mapCode = "trans_task")
public class TransTaskEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "运输任务,商砼可以拆为2条派车任务编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "PCRW")
    private String sn;
    /**
     * 车辆编号
     */
    private String truckSN;
    /**
     * 自编号
     */
    private String truckCode;
    /**
     * 车牌号
     */
    private String truckPlate;
    /**
     * 任务编号
     */
    private String productionTaskSN;
    /**
     * 生产线编号
     */
    private String productionLineSN;
    /**
     * 产品编号
     */
    private String productSN;
    /**
     * 运输重量
     */
    private BigDecimal transWeight;
    /**
     * 发货单编号
     */
    private String shipOrderSN;
    /**
     * 任务状态
     */
    private Short state;
    /**
     * 派车类型
     */
    private Short transType;

    /**
     * 余料处理方式
     */
    private Short overageHandle;

    /**
     * 砂浆重量
     */
    private BigDecimal appendWeight;

    /**
     * 销售方量
     */
    private BigDecimal saleWeight;

    /**
     * 余料数量
     */
    private BigDecimal overageWeight;

    /**
     * 余料信息编号
     */
    private String overageSN;
    /**
     * 运费金额
     */
    private BigDecimal freightAmount;

    /**
     * 发货种类
     */
    private short cateType;

    /**
     * 派车时间
     */
    private Date dispatchTime;
    /**
     * 备注
     */
    private String remark;

    public Short getOverageHandle() {
        return overageHandle;
    }

    public void setOverageHandle(Short overageHandle) {
        this.overageHandle = overageHandle;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getProductCateSN() {
        return productCateSN;
    }

    public void setProductCateSN(String productCateSN) {
        this.productCateSN = productCateSN;
    }

    private String productCateSN;

    public Date getDispatchTime() {
        return dispatchTime;
    }

    public void setDispatchTime(Date dispatchTime) {
        this.dispatchTime = dispatchTime;
    }

    public BigDecimal getFreightAmount() {
        return freightAmount;
    }

    public void setFreightAmount(BigDecimal freightAmount) {
        this.freightAmount = freightAmount;
    }

    public short getCateType() {
        return cateType;
    }

    public void setCateType(short cateType) {
        this.cateType = cateType;
    }

    public BigDecimal getOverageWeight() {
        return overageWeight;
    }

    public void setOverageWeight(BigDecimal overageWeight) {
        this.overageWeight = overageWeight;
    }

    public String getOverageSN() {
        return overageSN;
    }

    public void setOverageSN(String overageSN) {
        this.overageSN = overageSN;
    }

    public BigDecimal getSaleWeight() {
        return saleWeight;
    }

    public void setSaleWeight(BigDecimal saleWeight) {
        this.saleWeight = saleWeight;
    }

    public BigDecimal getAppendWeight() {
        return appendWeight;
    }

    public void setAppendWeight(BigDecimal appendWeight) {
        this.appendWeight = appendWeight;
    }

    public Short getTransType() {
        return transType;
    }

    public void setTransType(Short transType) {
        this.transType = transType;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getTruckSN() {
        return this.truckSN;
    }

    public void setTruckSN(String truckSN) {
        this.truckSN = truckSN;
    }

    public String getTruckCode() {
        return this.truckCode;
    }

    public void setTruckCode(String truckCode) {
        this.truckCode = truckCode;
    }

    public String getTruckPlate() {
        return this.truckPlate;
    }

    public void setTruckPlate(String truckPlate) {
        this.truckPlate = truckPlate;
    }

    public String getProductionTaskSN() {
        return this.productionTaskSN;
    }

    public void setProductionTaskSN(String productionTaskSN) {
        this.productionTaskSN = productionTaskSN;
    }

    public String getProductionLineSN() {
        return this.productionLineSN;
    }

    public void setProductionLineSN(String productionLineSN) {
        this.productionLineSN = productionLineSN;
    }

    public String getProductSN() {
        return this.productSN;
    }

    public void setProductSN(String productSN) {
        this.productSN = productSN;
    }

    public BigDecimal getTransWeight() {
        return this.transWeight;
    }

    public void setTransWeight(BigDecimal transWeight) {
        this.transWeight = transWeight;
    }

    public String getShipOrderSN() {
        return this.shipOrderSN;
    }

    public void setShipOrderSN(String shipOrderSN) {
        this.shipOrderSN = shipOrderSN;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }
}